﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<link href="${ctx}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/table.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${ctx}/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="${ctx}/ztree/css/zTreeStyle/zTreeStyle.css" />
<link type="text/css" href="${ctx}/jquery/ui/css/ui-lightness/jquery-ui-1.8.18.custom.css" rel="stylesheet" />
<script type="text/javascript" src="${ctx}/jquery/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="${ctx}/jquery/ui/js/jquery-ui-1.8.18.custom.min.js"></script>
<script src="${ctx}/ztree/js/jquery.ztree.all.min.js" type="text/javascript"></script>
<script type="text/javascript">
	//集成jquery ztree插件
	var setting = {
		check: {
			enable: true
		},
		data: {
			simpleData: {
				enable: true
			}
		}
	};
	var zNodes =[
		{id:"000",pId:"0",name:"外汇局业务办公系统",open:true},
		{id:"100",pId:"000",name:"境内业务"},
		{id:"1001",pId:"100",name:"登记管理"},
		{id:"10011",pId:"1001",name:"企业投资人登记"},
		{id:"10012",pId:"1001",name:"外商投资企业登记"},
		{id:"1002",pId:"100",name:"核准管理"},
		{id:"10021",pId:"1002",name:"资本金账户开户核准"},
		{id:"1003",pId:"100",name:"银行登记管理"},
		{id:"10031",pId:"1003",name:"银行核准类信息反馈"},
		{id:"200",pId:"000",name:"境外业务"},
		{id:"2001",pId:"200",name:"登记管理"},
		{id:"2002",pId:"200",name:"境外放款"},
		{id:"300",pId:"000",name:"IC卡业务"},
		{id:"3001",pId:"300",name:"办卡业务"},
		{id:"3002",pId:"300",name:"销卡业务"},
		{id:"400",pId:"000",name:"组织机构"},
		{id:"4001",pId:"400",name:"机构维护"},
		{id:"40011",pId:"4001",name:"新增机构"},
		{id:"40012",pId:"4001",name:"删除机构"},
		{id:"40013",pId:"4001",name:"修改机构"},
		{id:"4002",pId:"400",name:"员工维护"},
		{id:"500",pId:"000",name:"权限管理"},
		{id:"5001",pId:"500",name:"许可维护"},
		{id:"5002",pId:"500",name:"角色维护"},
		{id:"5003",pId:"500",name:"用户维护"},
		{id:"5004",pId:"500",name:"在线用户"},
		{id:"600",pId:"000",name:"日志管理"},
		{id:"6001",pId:"600",name:"操作日志"},
		{id:"6002",pId:"600",name:"安全日志"},
		{id:"700",pId:"000",name:"通知管理"},
		{id:"7001",pId:"700",name:"公告管理"}	
	];
	
	$(function() {
		//集成jquery多tab页
		$('#tabs').tabs();
		$.fn.zTree.init($("#checkbox_tree"), setting, zNodes);
	});
</script>
<table border="0" cellpadding="0" cellspacing="0" class="table_border">
	<tr>
		<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
                class="table_right">
                <tr>
                    <td>
                        <font style="font-size: 12px"><strong>为角色分配许可</strong></font>
                    </td>
                    <td width="25" height="26" align="right">
                    </td>
                </tr>
            </table>
		</td>
	</tr>
	<tr height="50">
		<td>
			<div id="tabs">
				<ul>
					<li><a href="#tabs-1">角色信息</a></li>
					<li><a href="#tabs-2">许可信息</a></li>
				</ul>
				<div id="tabs-1" style="background: #FFFFFF">
					代码：0001 <br /> <br /> 
					名称：系统管理员 <br /> <br /> 
					描述：系统管理员详情
				</div>
				<div id="tabs-2" style="background: #FFFFFF">
					<table>
						<tr>
							<td></td>
						</tr>
						<tr>
							<td>
								<ul id="checkbox_tree" class="ztree">
								</ul>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0"
	class="table_padding">
	<tr>
		<td height="21" align="right">
			<table align="left">
				<tr>
					<td width="50px">
						<a class="button" href="javascript:void(0)" onclick="window.history.back()">
							<span>保存</span>
						</a>
					</td>
					<td width="50px">
						<a class="button" href="javascript:void(0)" onclick="window.history.back()">
							<span>返回</span>
						</a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

